import request from '@/utils/request'

export function getLogList(query) {
  return request({
    url: '/log/list/page',
    method: 'get',
    params: query
  })
}

export function deleteLogById(id) {
  return request({
    url: '/log/delete/' + id,
    method: 'delete'
  })
}

export function deleteLogBatch(data) {
  return request({
    url: '/log/delete/batch',
    method: 'post',
    data
    })
}
